
cmake_minimum_required(VERSION 2.8)

project(Thread_Tools)

set(CMAKE_CXX_FLAGS_DEBUG "-std=c++0x -Wall -Wextra -g -DUNIX -pthread")
set(CMAKE_CXX_FLAGS_RELEASE "-O3 -UDEBUG -DUNIX")

set(CMAKE_BUILD_TYPE "DEBUG")

include_directories(
    src
    tests/libs/unitester/src
)

file(GLOB tests_srcs
    "tests/main.cpp"
)

add_executable(thread_tests
    ${tests_srcs}
)

